Sets the specified setting value of type T to the default setting value in the specified MonitoringObject instance. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As Settings
Dim setting As Setting(Of T)
Dim settingValue As T

instance.SetDefaultValue(setting, settingValue)

Syntax

Visual Basic
Public Sub SetDefaultValue(Of T) ( _
		setting As Setting(Of T), _
		settingValue As T _
)
C#
public void SetDefaultValue<T> (
		Setting<T> setting,
		T settingValue
)
C++
public:
generic<typename T>
void SetDefaultValue (
		Setting<T>^ setting, 
		T settingValue
)
J#

JScript

Parameters

setting

The setting value of type T to set to the default setting value in the MonitoringObject instance.

settingValue

The MonitoringObject instance to set the default setting value in.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also